home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************/
- /* */
- /* TurboCAD for Windows */
- /* Copyright (c) 1993 - 2001 */
- /* International Microcomputer Software, Inc. */
- /* (IMSI) */
- /* All rights reserved. */
- /* */
- /******************************************************************/
-
- // RRectA.idl : IDL source for RRectA.dll
- //
-
- // This file will be processed by the MIDL tool to
- // produce the type library (RRectA.tlb) and marshalling code.
-
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(45232FA1-65A2-11D2-8C4A-00403338C504),
- dual,
- helpstring("IAutoRect Interface"),
- pointer_default(unique)
- ]
- interface IAutoRect : IDispatch
- {
- [propget, id(1), helpstring("property ClassID")] HRESULT ClassID([out, retval] BSTR *pVal);
- [propget, id(2), helpstring("property Description")] HRESULT Description([out, retval] BSTR *pVal);
-
- [id(3), helpstring("method GetPropertyInfo")] HRESULT GetPropertyInfo(VARIANT* Names,
- VARIANT* Types,
- VARIANT* IDs,
- VARIANT* Defaults,
- [out, retval] long* ret);
-
- [id(4), helpstring("method GetPageInfo")] HRESULT GetPageInfo(IDispatch* AGraphic,
- long* StockPages,
- VARIANT* Names,
- [out, retval] long* ret);
-
- [id(5), helpstring("method GetWizardInfo")] HRESULT GetWizardInfo(VARIANT* Names,
- [out, retval] long* ret);
-
- [id(6), helpstring("method GetEnumNames")] HRESULT GetEnumNames(long PropID,
- VARIANT* Names,
- VARIANT* Values,
- [out, retval] long* ret);
-
- [id(7), helpstring("method PageControls")] HRESULT PageControls(IDispatch* ThisRegenMethod,
- IDispatch* AGraphic,
- long PageNumber,
- boolean SaveProperties,
- [out, retval] VARIANT_BOOL* ret);
-
-
- [id(8), helpstring("method PageDone")] HRESULT PageDone(IDispatch* ThisRegenMethod,
- VARIANT* PageNumber);
-
- [id(9), helpstring("method PropertyPages")] HRESULT PropertyPages(IDispatch* ThisRegenMethod,
- VARIANT* PageNumber,
- [out, retval] VARIANT_BOOL* ret);
-
- [id(10), helpstring("method Wizard")] HRESULT Wizard(IDispatch* ThisRegenMethod,
- VARIANT* WizardNumber,
- [out, retval] VARIANT_BOOL* ret);
-
- [id(11), helpstring("method OnGeometryChanged")] HRESULT OnGeometryChanged(IDispatch* AGraphic,
- long GeomID,
- VARIANT* ParamOld,
- VARIANT* ParamNew);
-
- [id(12), helpstring("method OnGeometryChanging")] HRESULT OnGeometryChanging(IDispatch* AGraphic,
- long GeomID,
- VARIANT* ParamOld,
- VARIANT* ParamNew,
- [out, retval] VARIANT_BOOL* ret);
-
- [id(13), helpstring("method OnNewGraphic")] HRESULT OnNewGraphic(IDispatch* CopyGraphic,
- boolean Copy,
- [out, retval] VARIANT_BOOL* ret);
-
- [id(14), helpstring("method OnCopyGraphic")] HRESULT OnCopyGraphic(IDispatch* CopyGraphic,
- IDispatch* SourceGraphic,
- [out, retval] VARIANT_BOOL* ret);
-
- [id(15), helpstring("method OnPropertyChanged")] HRESULT OnPropertyChanged(IDispatch* AGraphic,
- long PropID,
- VARIANT* ValueOld,
- VARIANT* ValueNew);
-
-
- [id(16), helpstring("method OnPropertyChanging")] HRESULT OnPropertyChanging(IDispatch* AGraphic,
- long PropID,
- VARIANT* ValueOld,
- VARIANT* ValueNew,
- [out, retval] VARIANT_BOOL* ret);
-
- [id(17), helpstring("method OnPropertyGet")] HRESULT OnPropertyGet(IDispatch* AGraphic,
- long PropID);
-
- [id(18), helpstring("method Draw")] HRESULT Draw(IDispatch* AGraphic,
- IDispatch* AView,
- VARIANT* AMatrix,
- [out, retval] VARIANT_BOOL* ret);
-
- [id(19), helpstring("method Regen")] HRESULT Regen(IDispatch* AGraphic);
-
- [id(20), helpstring("method Initialize")] HRESULT Initialize(IDispatch* ThisRegenMethod,
- [out, retval] VARIANT_BOOL* ret);
- };
-
- [
- uuid(45232F93-65A2-11D2-8C4A-00403338C504),
- version(1.0),
- helpstring("RRectA 1.0 Type Library")
- ]
- library RRECTALib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
-
- [
- uuid(45232FA2-65A2-11D2-8C4A-00403338C504),
- helpstring("AutoRect Class")
- ]
- coclass AutoRect
- {
- [default] interface IAutoRect;
- };
- };
-